package appapi.Vo.AppVo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author djq
 * @date 2023/6/7 10:43
 * @description:
 */
@Data
public class AppRectVo {
    @ApiModelProperty(value = "整改id")
    private Long rectId;

    @ApiModelProperty(value = "设备编号")
    private String equipNo;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "创建人姓名")
    private String operName;

    @ApiModelProperty(value = "整改要求")
    private String rectRequire;

    @ApiModelProperty(value = "状态")
    private Integer rectState;

    @ApiModelProperty(value = "整改备注")
    private Integer rectNote;
    @ApiModelProperty(value = "附件信息")
    private List<String> annexUrl;

    @ApiModelProperty(value = "整改项目")
    private List<AppRectRecVo> rectRecDetails;
}
